#!/bin/sh

IPADDR=193.168.20.131
GATEWAY=193.168.20.2

modprobe e1000

ifconfig eth0 $IPADDR netmask 255.255.255.0 up
ip route add via $GATEWAY

echo 1 > /proc/sys/net/ipv4/ip_forward

